package com.lin.entity;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class PlaneData {
    private Long id;

    private String date;

    private String tarid;

    private String code;

    private Double lon;

    private Double lat;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date tarTime;

    public PlaneData(String date, String tarid, String code, Double lon, Double lat, Date tarTime) {
        this.date = date;
        this.tarid = tarid;
        this.code = code;
        this.lon = lon;
        this.lat = lat;
        this.tarTime = tarTime;
    }

    public static void main(String[] args) {
        System.out.println(1014957527542005761L % 2);
    }
}
